<?php
/**
 * Created by PhpStorm
 * USER MingTingLiang   QQ 915802070
 * Date 2020-12-15-015   15:03
 */


class ClickPlugin implements IPlugin
{

    public function update($id)
    {
        // TODO: Implement update() method.
        echo "<hr />";
        echo "新闻id为{$id}的点击量加1".date('Y-m-d H:i:s');
    }

    public function __toString()
    {
        // TODO: Implement __toString() method.
        return "clickplugin";
    }
}